package pdd.goods.spec.id.get;

import com.alibaba.fastjson.annotation.JSONField;
import pdd.PddRequest;

/**
 * Created by gtx on 2018/6/18.
 * 生成商家自定义的规格
 * @author gtx
 * @since 0.0.1
 */
public class SpecIdGetRequest extends PddRequest<SpecIdGetResponse> {
    /**
     * 拼多多标准规格ID，可以通过pdd.goods.spec.get接口获取
     */
    @JSONField(name = "parent_spec_id")
    private Long parentSpecId;
    /**
     * 商家编辑的规格值，如颜色规格下设置白色属性
     */
    @JSONField(name = "spec_name")
    private String specName;

    public Long getParentSpecId() {
        return parentSpecId;
    }

    public void setParentSpecId(Long parentSpecId) {
        this.parentSpecId = parentSpecId;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }
}
